package com.zxy.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zxy.enity.RoleMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface RoleMenuMapper extends BaseMapper<RoleMenu> {

    //保存权限
    boolean saveRoleMenu(@Param("roleId") Long roleId, @Param("menuIds") List<Long> menuIds);
}
